package dao;

import entry.Books;
import util.PageHelper;

import java.util.ArrayList;

public interface BookDao {
    int insertBook(Books book);
    boolean delete(int bookid);
    Books selectById(int bookid);
    boolean updateBook(Books book);
    ArrayList<Books> selectMatch(Books book, PageHelper pageHelper);
    //用于分页，查询个数
    int selectBookSize(Books book);
}
